package net.sppan.base.service.impl;

import net.sppan.base.common.utils.MD5Utils;
import net.sppan.base.dao.IPurchaseDao;
import net.sppan.base.dao.IUserDao;
import net.sppan.base.dao.support.IBaseDao;
import net.sppan.base.entity.Role;
import net.sppan.base.entity.User;
import net.sppan.base.entity.business.Purchase;
import net.sppan.base.service.IPurchaseService;
import net.sppan.base.service.IRoleService;
import net.sppan.base.service.IUserService;
import net.sppan.base.service.support.impl.BaseServiceImpl;

import net.sppan.base.vo.business.PurchaseVO;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 用户账户表  服务实现类
 * </p>
 *
 *
 */
@Service
public class PurchaseServiceImpl extends BaseServiceImpl<Purchase, Integer> implements IPurchaseService {

	@Autowired
	private IPurchaseDao purchaseDao;

	@Override
	public IBaseDao<Purchase, Integer> getBaseDao() {
		return this.purchaseDao;
	}

}
